package com.yykj.hospital.server.model.repository;

import com.yykj.hospital.server.model.entity.HospitalOfficer;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface HospitalOfficerRepository extends JpaRepository<HospitalOfficer,Integer> {
    List<HospitalOfficer> findAllByHospitalIdOrderBySorting(Integer hospitalId);
}
